package org.qs.webservice.dao.user;



import org.apache.ibatis.annotations.Param;
import org.qs.webservice.domain.UsMemberVotes;
import org.springframework.stereotype.Component;

@Component
public interface UsMemberVotesMapper {
	/**
	 * 更新金票
	 * @param point
	 * @return
	 */
	int updateVotes(UsMemberVotes usMemberVotes);
	/**
	 * 跟新金票
	 * @param usMemberVotes
	 * @return
	 */
	int addVotes(UsMemberVotes usMemberVotes);
	
	
	/**
	 * 获取金票
	 * @param user_id
	 * @return
	 */
	UsMemberVotes getVotes(@Param("user_id")Long user_id,@Param("stat_day")int stat_day);

}